package com.example.demo.dao;

import com.example.demo.model.po.ApplyPage;
import com.example.demo.model.po.OrderPage;
import com.example.demo.model.request.ApplyPageRequest;
import com.example.demo.model.request.OrderPageRequest;
import com.example.demo.model.request.VpsPageRequest;

import java.util.List;

public interface IOrderDao {
    /**
     * order分页查询
     * @param orderPageRequest 请求参数
     * @return  List<VpsPage>
     */
    public List<OrderPage> queryPageOrderList(OrderPageRequest orderPageRequest);

    /**
     * apply分页查询
     * @param applyPageRequest 请求参数
     * @return  List<VpsPage>
     */
    public List<ApplyPage> queryPageApplyList(ApplyPageRequest applyPageRequest);

    /**
     * 查询订单详情
     * @param orderId 请求参数
     * @return  List<VpsPage>
     */
    public OrderPage queryOrderDetail(String orderId);

    /**
     * 查询订单
     * @param orderIds
     * @return
     */
    public List<OrderPage> queryOrderListByIds(List<String> orderIds);
}
